package com.zd.springcloud.busy.controller;

import com.zd.springcloud.busy.service.BussinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TetstSeataXAController {

    @Autowired
    BussinessService bussinessService;

    @RequestMapping("/testSeataTCC")
    public String testSeataXa(long accountId,Long goodId,int num){


        return bussinessService.myMybussinee(accountId,accountId,num);
    }
}
